package com.qf.mybatis01.dao;

import com.qf.mybatis01.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UserDao {
    User selectUserById(Integer id);

    User selectUserByIdAndPwd(@Param("id") Integer id,@Param("pwd") String pwd);

    User selectUserByNameAndpwd_Map(Map map);

    List<User> selectUserByname(@Param("key") String keyword);
}
